Refactor of getFileType
Added manifest & yaml file types
Issue #117
Issue #112