Write output to another file
Read input from file