Now creates the sample.xml file after the XMLGeneration page. Also changed origin column in sample_file to hold the ftp site if not local file, instead of ftp.