fixed load data to load from empty file to return empty arraylist