def METHOD_NAME(self, filename, encoding='utf-8'):
    """ hdfs_file_open """
    cmd = self.hadoop_bin + " fs -D fs.default.name=" + self.fs_name
    cmd += " -D hadoop.job.ugi=" + self.fs_ugi
    cmd += " -cat " + filename
    p = Popen(cmd, shell=True, stdout=PIPE)
    p = io.TextIOWrapper(p.stdout, encoding=encoding, errors='ignore')
    return p