Add RenameFile function file

/ht @harlow @richrines