Renames main file.