added ability for user to specifiy filetypes in configuration file to reduce
hardcoding of filetypes. The initial values are still supported by default.