file.c - fix warnings