set options for specific file types