Preparing to deal with different input and output files.