public List<GFile> getFiles(long flags) {
		List<GFile> files = new ArrayList<>();
		for (DyldCacheEntry entry : rangeMap.asMapOfRanges().values()) {
			DyldCacheMappingAndSlideInfo mappingAndSlideInfo = entry.mappingAndSlideInfo();
			if (mappingAndSlideInfo != null && (flags & mappingAndSlideInfo.getFlags()) != 0) {
				Optional.ofNullable(lookup(entry.path())).ifPresent(files::add);
			}
		}
		return files;
	}
Gets a {@link List} of {@link GFile files} that have the given mapping flags

@param flags The desired flags
@return A {@link List} of {@link GFile files} that have the given mapping flags
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/ios/dyldcache/DyldCacheFileSystem.java