def convert_file(self, filename):
        input = open(filename, 'rb').read()
        return self.convert(input, filename)
Convert file into python script and return it.
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/tenjin.py/Template.convert_file