Renaming the file and adding new parameters method