Extract out parsing proto file logic from ProtobufGen

Maybe you should just inline this data and remove _get_file_content(). Its only referenced once.