Add some data stream file parsing code