Remember to close open_file when finished.