add s_mem.c create_file