fileprocessing sample.txt is the test file we want to process and file.csv is the final generated file