Split valid extensions into config file.