create output and input file added