 configRoot = process.env.HOME or process.env.USERPROFILE or process.env.HOMEPATH
 configParent = configRoot + "/.config"
 configPath = configParent + "/sow"
-
 
 ###
  * Get File Path

exports.save = saveFile = (file, data) ->
    saveFile = getFilePath file
    saveData = JSON.stringify data

    fs.writeFile saveFile, saveData, (err) ->
        if err
            logger.warn "There has been an error saving the " + file + " data."
            logger.log err.message
            false
        else
            logger.success file + " saved successfully to " + getFilePath file
            true



    try
        data = require readFile
    catch err
        logger.warn err.message
        data = {}

    return data
