nl_tokens: Validate if a given path has a valid file is it doesn t console . error with an optional custom message .
pl_tokens: function validateFileSync ( <mask> , errorMessage ) { errorMessage = errorMessage || 'Error validateFileSync() the file path is not valid ' + path ; var isValid = existsFileSync ( path ) ; if ( ! isValid ) { console . error ( errorMessage ) ; } return isValid ; }