Added if exists statements to take care of sftp-config.json files whether they are there or not.