Add function comments in file.c, update file.h