Added die and logger functions for LoadFile to _cdorked check