Modified transcribe function to return list of transcribed lines; in addition to writing to file