add options to apply formatting by file extension, file syntax, or both