Read orbit data

Read orbit data from the file and clean
the buffer after use