Make DataFile ready for python 3