added the script that is used to generate the hdf5 dataset from the text files