Add content for Directory(FD) class

Changes:
    - add content for Directory(FD) class
    - add test scenarios for reading file as lines