add ability to check whether a transcript text or pdf is present