Create an interface to recognize file types
The js-based editors use the filetype identifier