New file.c contains map/dat operations as they are now FS-level.

Next step in changing the code.