forcing a check for output file being supplied