require output file as param