Easier to get filetype, add new filetypes.
closes #2
Extension metrics taken only on regular files.
closes #1