It tests if file is equal to '.' (current directory) or '..' parent directory. This sort of thing is used when you are searching the directory tree but do not want to process these special files.
Example:
For each file in SomeDirectory:
if file is current directory, '.', or parent directory ,'..'
skip
do something with file
EndFor