Add support for serial and parallel GDF read write.