In case allocating for the file failed, return `NULL`
In case allocating for the file failed, return `NULL`

gjtorikian/mathematical,tmbeihl/mathematical,gjtorikian/mathematical,tmbeihl/mathematical,tmbeihl/mathematical,gjtorikian/mathematical