Isolate FILE related functions when WITHOUT_FILE is defined.