look at https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/echobot.py for an example maybe?
how do you read from the file?