struct stat st;
if (stage != NULL)
snprintf(fpath, sizeof(fpath), "%s/%s", stage,
file->path);
RELATIVE_PATH(file->path));
else
strlcpy(fpath, file->path, sizeof(fpath));