calling fileopen() from util.c