anchor.diff:              case checkDuplicates(?FILES, File) of
                   false ->
                       addListItems(?MODULE_LIST, File),
  -                    snapshot_add_file(File),
  +                    add_file(File),
                       ref_add(?FILE_PATH, getDirectory());
                   Duplicates ->
                       wxTextCtrl:appendText(ref_lookup(?ERROR_TEXT),
  
positive.code: 	    error
      end.
  
  %%%----------------------------------------------------------------------
  %%% 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),
  
negative.code: clearMods() ->
      ModuleList = ref_lookup(?MODULE_LIST),
      wxListBox:setSelection(ModuleList, ?wxNOT_FOUND),
      wxControlWithItems:clear(ModuleList),
      init_files().
  
  clearProbs() ->
      ErrorText = ref_lookup(?ERROR_TEXT),
  