Split up filetype specific configurations and filetupe detection.