working on adding input/output with files