unified calls to fs function vs duplicate functions for file and dir

The functions were identical and already merged in previous commit, now all modules that used them call the unified function so there is no need for the placeholders.