add basic support for different filetypes (c, cpp, ruby, js)