implement file emulator for some functions - hyewon.eum