Improved rename functions to allow multiple edited versions of a file