Read and Write an entire file at once.