* for in-memory preprocessing, rather set file->fd to -1 instead of 0