Add hacky file reading for C++