def welcome(message):
print(message.text)
a = str(message.text)
sub11 = '/home/pi/Desktop/bot2.0/subs/11.txt'
sub10 = '/home/pi/Desktop/bot2.0/subs/10.txt'
sub9 = '/home/pi/Desktop/bot2.0/subs/9.txt'
sub8 = '/home/pi/Desktop/bot2.0/subs/8.txt'
global subs
subs = [line.rstrip('\n') for line in open('sub' + a, 'rt')]