code: def _read_file(self, filename):
          
          try:
              with open(filename, "r") as fhandle:
                  stats = float(fhandle.readline().rstrip("\n"))
          except Exception:
              stats = None
  
          return stats
docs: Read contents of given file.