add check for output filename correctness