load data from text field and csv file