Fixed the Filesystem methods for a directory with a name that is a substring of a another directory
Merge pull request #1979 from hason/filesystem

Fixed the Filesystem methods for a directory with a name that is a substring of a another directory