private void ensureSafeFilename(String filename) throws IOException {
		File testFile = new File(searchDir, filename);
		if (!searchDir.equals(testFile.getParentFile())) {
			throw new IOException("Unsupported path specified in debug file: " + filename);
		}
	}
Creates a new {@link LocalDirectorySearchLocation} at the specified location.
 
@param searchDir path to the root directory of where to search
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/external/LocalDirectorySearchLocation.java