But the attempt to write a 4097th byte to the file fails with the "Can't extend" error, because this would need a new sector allocating for the file. DFS can only cope with allocating the next disc sector for random access files, so as we saw to it earlier, it's already occupied so the operation fails.