Fixed read_file