I tried to return a content from a text file in Flask but I have only the name of the file not the content
return "http://{ip}:{port}/s/{x}.txt".format(ip=ip, port=port, x=x)