PJ: fix prototypes for file menu and use file type enumeration.
PJ: fix prototypes for fli and friends.
PJ: fix prototypes for flx and friends.