afile_open
int afile_open(struct afile *, char *, int, int, struct aparams *, int, int);
if (!afile_open(&s->afile, path, hdr,