One of the Perl file test operators.

(-f $file) returns true if the file exists, and it is a plain file (i.e. not a directory, special file, named pipe, symbolic link or socket).