Added testdata and readfile function