<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __get_labels(self):
 """ Read the label file of the documents and extract all the labels Returns: An array of labels.Label objects """

        labels = []
        try:
            with self.fs.open(self.fs.join(self.path, self.LABEL_FILE),
                                'r') as file_desc:
                for line in file_desc.readlines():
                    line = line.strip()
                    (label_name, label_color) = line.split(",", 1)
                    labels.append(Label(name=label_name,
                                        color=label_color))
        except IOError:
            pass
        return labels