teach this to read from bitcode files