Add support for all filetypes(Issue #1)