support fileoptions