Refactored some File attributes and added findDirChildrenByPath.