anchor.diff:  	    error
       end.
   
  +add_file(File) ->
  +    ref_add(?FILES, File ++ ref_lookup(?FILES)).
  +
  +init_files() ->
  +    ref_add(?FILES, []).
  +
  +remove_file(File) ->
  +    ref_add(?FILES, ref_lookup(?FILES) -- [File]).
  +
   %%%----------------------------------------------------------------------
   %%% Snapshot utilities
   %%%----------------------------------------------------------------------
   
   snapshot_add_analysis_ret(AnalysisRet) ->
       ref_add(?ANALYSIS_RET, AnalysisRet).
  -
  -snapshot_add_file(File) ->
  -    ref_add(?FILES, File ++ ref_lookup(?FILES)).
   
   snapshot_cleanup() ->
       _ = os:cmd("rm -rf " ++ ?IMPORT_DIR),
  
positive.code: remove() ->
      ModuleList = ref_lookup(?MODULE_LIST),
      Selection = wxListBox:getSelection(ModuleList),
      SourceText = ref_lookup(?SOURCE_TEXT),
      if Selection =:= ?wxNOT_FOUND ->
  	    continue;
  
negative.code:             case checkDuplicates(?FILES, File) of
                  false ->
                      addListItems(?MODULE_LIST, File),
                      add_file(File),
                      ref_add(?FILE_PATH, getDirectory());
                  Duplicates ->
                      wxTextCtrl:appendText(ref_lookup(?ERROR_TEXT),
  