line 1) if ( -e $file && -f $file && -s $file < $ok ) { line 2) ...open file here.... }