add file.c & Makefile

Signed-off-by: feixiaoxing <feixiaoxing@163.com>