added Directory and File objects, parent class Node