Runfile method added to process all data from textfile