added file read to bubblesort