Read and write to files done.