CORE-5916 Added path-list filetype detection.