Add functionality for rename files