Renames main file