Do not need to move pointer manually when writing to file.