docs: def _getattr(self, attri, fname=None, numtype='cycNum'):
          ''' Private method for getting an attribute, called from get.'''
          if str(fname.__class__)=="<type 'list'>":
              isList=True
          else:
              isList=False
  
          data=[]
          if fname==None:
              fname=self.files
              numtype='file'
              isList=True
          if isList:
              for i in range(len(fname)):
                  if attri in self.cattrs:
                      data.append(self.getCycleData(attri,fname[i],numtype))
                  elif attri in self.dcols:
                      data.append(self.getColData(attri,fname[i],numtype))
                  elif attri in self.get('ISOTP',fname,numtype):
                      data.append(self.getElement(attri,fname[i],numtype))
                  else:
                      print('Attribute '+attri+ ' does not exist')
                      print('Returning none')
                      return None
  
          else:
              if attri in self.cattrs:
                  return self.getCycleData(attri,fname,numtype)
              elif attri in self.dcols:
                  return self.getColData(attri,fname,numtype)
              elif attri in self.get('ISOTP',fname,numtype):
                  return self.getElement(attri,fname,numtype)
              else:
                  print('Attribute '+attri+ ' does not exist')
                  print('Returning none')
                  return None
  
          return data