Using multithreds to load data from file