add getDataFromFile(fileName) for loading data from file