Prepare for read of input file