Added protection if data file does not exist