Rename an imported file to its proper name.