Added documentation for filetypes module.
Just use standard class parameters to handle configuration, no fancy
classes or dictionaries.