#19 Only checking if the file exists when the 'rename' option is set to true