Move filetype definitions to separate files

Signed-off-by: Kare Nuorteva <kare.nuorteva@me.com>