file type now uses the common enum idiom