move filetype info to config file