Fixed #make_file method