Made it compilable again by defining the file object. Fixed a bug in the data file.