restore input and output files to default and ajust on variable name