can now input line by line, but just prints it back, not writing to files yet.