Added group for file resource
Updated tempalte; adding config keys only if value exists