add files.c and files.h