Added an existing-file check to -f that might interfere with creating an output folder