Implemented downloadDirContent() method in lib