Get rid of static code in DataFile.py