Added new run mode to read in data from a file until the file is processed