starting implementation of emufile_fi on top of emufile