Returns array of dictionaries containing all the data elements in
        the DICOM file.

def read(self):
        """ Returns array of dictionaries containing all the data elements in
        the DICOM file.
        """
        def ds(data_element):
            value = self._str_filter.ToStringPair(data_element.GetTag())
            if value[1]:
                return DataElement(data_element, value[0].strip(), value[1].strip())

        results = [data for data in self.walk(ds) if data is not None]
        return results