public FileType getFileType() {
		if (fileType == null) {
			fileType = FileType.getFileTypeByExtension(FilenameUtils.getExtension(getPath()));
		}
		return fileType;
	}
Get file type. If fileType is set, it returns the set fileType.
Otherwise, it tries to detect the file type by the extension.

@return file type.
ngrinder-controller/src/main/java/org/ngrinder/script/model/FileEntry.java