in reply to What does -f mean

See -X and perlop. -f is one of the several unary file test operators (compare to the "-" in -$x).

To explicitely answer you question: -f returns true if file path exists and is a plain file (as opposed to a directory, for example).