Manually accessing file contents from bprm->file