Added filterFiles and filterFolders methods to DiskResourceUtil.