Fixed the function named_new_file.