FILEref is abstract; it is just FILE* in C. As it is non-linear, you
need to remember to close an opened file handle of this type.
BTW, FILEptr is linear; so the type system help you keep track of
file handles of the type FILEptr.
--Hongwei
PS: I often use FILEref first. If needed later, I can always change
it to FILEptr and the typechecker will then lead me to all the places
where subsequent changes are needed for such a change.