def addVoiceMenu(self,vb):
        print(self.voiceHeader(vb))
        import glob
        textfiles = glob.glob('texts/*')
        count = 1
        for filename in textfiles:
            print(str(count) + ": " + filename[6:])
            count+=1
        try:
            response = raw_input('Choose a file by number from above.')
        except __HOLE__:
            response = input('Choose a file by number from above.')
        if response.isdigit():
            response = int(response)
            vb.addVoiceFromFile(textfiles[response-1][6:])
dataset/ETHPy150Open jbrew/pt-voicebox/writer.py/Writer.addVoiceMenu