code: def get_abspath(path, content_dir=CONTENT_DIR):
      
      if path:
          file = re.search('content://(.+)', path)
          if file:
              return os.path.join(content_dir, file.group(1))
      return path
docs: Replaces `content://` with absolute path of `content_dir`.
      By default looks for content in subdirectory `content` in current directory.