determined that the weird problem was actually cause by a corrupted test data file. Not sure how it got corrupted but the read and load commands are working like they should be. The monkey-patched functions are not working due to a recursion depth error, but i will try to fix this next.