remove older versions in file rename