renaming the file to follow the canonical name format