Added a debug logger for development ease
Refined debug logging functions
Added getTree to FileManager, which filters directory input and creates the DirectoryIterator instance