Added support for comments based on filetype