Second input and output file