Added functionality rename for both filename and file directory