code: def get_file_contents(filename):
      
      data = None
      try:
          with open(filename) as pf:
              data = pf.read()
      except IOError:
          # File not found, return None
          pass
      return data
docs: Read file contents from file `filename`