add input and output file