This interface represents a directory in a file system. A directory may contain other directories or files. If the directory is the root of the filesystem it won't have a parent otherwise the parent mustn't be null
An Entity represents an object within a filesystem. An Entity can be a file or a directory or other distinct objects that share the same properties and basic functionalities