Added methods to find files or directories.