changed name of write method to write_to_csv

clarify difference from previous method that wrote to txt
fixed SetupInputFiles method

This works now