Fixed loadDataFromFile