Information added to file (Python 3)