A datalog file isn't really meant to be read by other programming languages. If you want to read your data in another program, I would recommend using more simple file types. For example, if your cluster contains a string, an integer, and a double, create an ascii file with the strings, a binary file with all the integers and a binary file with all the doubles. You could then always recombine the data into a struct, etc. in the desired programming language.