Make file_reader.py Python 3 compatible