Added ability to rename the file