Added file_rename function