def _get_txt_file_dict(self, file_bytes):
    line_list = file_bytes.decode('utf-8').splitlines()
    sc = ': '
    file_info = {}
    for line in line_list:
        segments = line.split(sc)
        file_info[segments[0].strip()] = sc.join(segments[1:]).strip()
    return file_info
def _get_txt_file_dict(self, file_bytes):
    line_list = file_bytes.decode('utf-8').splitlines()
    sc = ': '
    file_info = {}
    for line in line_list:
        segments = line.split(sc)
        file_info[segments[0].strip()] = sc.join(segments[1:]).strip()
    return file_info