Added file type detection for eliom(ocaml) and Heist(Snap templates)