Create base class for file and directory.