How to read inputs from a file

Hello;
Please I need to read inputs from a file change 1 or 2 things the output to another file.

how about this found in the FAQ Tips and Tutorials?