anchor.diff:  %% ensures that the directory name required to create D exists
   
   -spec ensure_dir(Name) -> 'ok' | {'error', Reason} when
  -      Name :: filename() | dirname(),
  +      Name :: filename_all() | dirname_all(),
         Reason :: file:posix().
   ensure_dir("/") ->
       ok;
  
positive.code:     ?HANDLE_ERROR(do_wildcard(Pattern, Cwd, Mod)).
  
  -spec is_dir(Name) -> boolean() when
        Name :: filename() | dirname().
  is_dir(Dir) ->
      do_is_dir(Dir, file).
  
  -spec is_dir(file:name(), atom()) -> boolean().
  is_dir(Dir, Mod) when is_atom(Mod) ->
      do_is_dir(Dir, Mod).
  
  -spec is_file(Name) -> boolean() when
        Name :: filename() | dirname().
  is_file(File) ->
      do_is_file(File, file).
  
  -spec is_file(file:name(), atom()) -> boolean().
  is_file(File, Mod) when is_atom(Mod) ->
      do_is_file(File, Mod).
  
  -spec is_regular(Name) -> boolean() when
        Name :: filename().
  is_regular(File) ->
      do_is_regular(File, file).
      
  -spec is_regular(file:name(), atom()) -> boolean().
  is_regular(File, Mod) when is_atom(Mod) ->
      do_is_regular(File, Mod).
      
  
negative.code:     do_fold_files(Dir, RegExp, Recursive, Fun, Acc, Mod).
  
  -spec last_modified(Name) -> file:date_time() | 0 when
        Name :: filename_all() | dirname_all().
  last_modified(File) ->
      do_last_modified(File, file).
  
  -spec last_modified(file:name_all(), atom()) -> file:date_time() | 0.
  last_modified(File, Mod) when is_atom(Mod) ->
      do_last_modified(File, Mod).
  
  -spec file_size(Filename) -> non_neg_integer() when
        Filename :: filename_all().
  file_size(File) ->
      do_file_size(File, file).
  
  