added ROOT filetype detection