Add filter by extension in generic config file