Can detect if one folder is a subfolder of another.
Can detect if a file is in a subfolder of a directory.