changed the way moving and renaming files is done