code: function _getFSObject(path) {
          if (!path) {
              return path;
          } else if (_pathIsFile(path)) {
              return FileSystem.getFileForPath(path);
          }
          return FileSystem.getDirectoryForPath(path);
      }
docs: @private
  
  Gets the FileSystem object (either a File or Directory) based on the path provided.
  
  @param {string} path Path to retrieve