Added ability to create either a .csv or a .txt file from the dataframe