added arg[0] as output file