renaming files and functions