Currently the program just starts running the data in the datafile, first check if it is an accepted format