function save(done) {
    if (process.browser) return done();

    fs.writeFile(__dirname + '/../../data/filesystem.json', JSON.stringify(fileContents), function(err) {
        if (done) done(err);
    });
}
function save(done) {
    if (process.browser) return done();

    fs.writeFile(__dirname + '/../../data/filesystem.json', JSON.stringify(fileContents), function(err) {
        if (done) done(err);
    });
}
function save ( done ) { if ( process . browser ) return done ( ) ; fs . writeFile ( __dirname + '/../../data/filesystem.json' , JSON . stringify ( fileContents ) , function ( err ) { if ( done ) done ( err ) ; } ) ; }
Saves the filesystem

@param {Function?} done A function to call when complete
Saves the filesystem