You can just directly read it in a double array. In C, use fread() or file_read(), in R I believe it's readBin(), or use read.csv() with the .csv balance curve.