openpath
soee = openpath(p, file, "r");
static FILE *openpath(struct path *, const char *, const char *);