Refactored to reflect that input files will be in separate folders - added functionality to delete output on FTP site.