private void fileAccessReadAllowed(String file) {
		String filePath = normalize(file, workDirectory);
		if (filePath != null && filePath.startsWith(controllerHomeDir)) {
			if (!filePath.startsWith(workDirectory) && !filePath.startsWith(controllerHomeTmpDir)) {
				throw new SecurityException("File Read access on " + file + "(" + filePath + ") is not allowed.");
			}
		}
	}
Check if the given file is safe to read.

@param file file path
ngrinder-runtime/src/main/java/org/ngrinder/sm/NGrinderSecurityManager.java