   '.rmd':      true
   '.ron':      true
 
-
-
 isPathValid = (pathToCheck) ->
   pathToCheck? and typeof pathToCheck is 'string' and pathToCheck.length > 0
 

#
# [fs]: http://nodejs.org/api/fs.html
fsPlus =
  getHomeDirectory: ->
    if process.platform is 'win32'
      process.env.USERPROFILE

  # Public: Like {.resolve} but uses node's modules paths as the load paths to
  # search.
  resolveOnLoadPath: (args...) ->
    modulePaths = module.paths ? [
      path.join(process.resourcesPath, 'app', 'node_modules'),
      path.join(process.resourcesPath, 'app.asar', 'node_modules'),
      path.join(process.resourcesPath, 'node_modules')
    ]
    loadPaths = Module.globalPaths.concat(modulePaths)
    fsPlus.resolve(loadPaths..., args...)

  # Public: Finds the first file in the given path which matches the extension
