nl_tokens: / * goes and reads out the file if it exists and returns a promise with the fileBuffer
pl_tokens: function ( filename ) { if ( ! fs . existsSync ( filename ) ) { return when . reject ( filename + ' doesn\'t exist' ) ; } var fileBuffer = fs . readFileSync ( filename ) ; if ( ! fileBuffer || ( fileBuffer . length === 0 ) ) { return when . reject ( <mask> + ' was empty!' ) ; } return when . resolve ( fileBuffer ) ; }