parameters: (filename)
docstring: called when freecad opens a file
docstring_summary: called when freecad opens a file
docstring_tokens: called when freecad opens a file
function: def open(filename):
      "called when freecad opens a file"
      docname = os.path.splitext(os.path.basename(filename))[0]
      insert(filename, docname)
function_tokens: def open ( filename ) : docname = os . path . splitext ( os . path . basename ( filename ) ) [ 0 ] insert ( filename , docname )