Finished writing to file