nl_tokens: get resolved file info & stats
pl_tokens: function getFileInfo ( fileId , filePath , cb , repeated ) { // cb(err, fileInfo) repeated = repeated || 0 ; var fullPath = resolve ( filePath ) . fullPath ; fs . exists ( fullPath , function ( exists ) { if ( ! exists ) cb ( ) ; else fs . stat ( fullPath , function ( err , stat ) { if ( err && err . code === 'ENOENT' ) { // directory or file removed, just skip it cb ( ) ; } else if ( <mask> && repeated < 5 ) setTimeout ( function ( ) { getFileInfo ( fileId , fullPath , cb , repeated + 1 ) ; } , 200 ) ; else if ( err ) cb ( err ) ; else cb ( null , getFileItem ( fileId , stat , fullPath ) ) ; } ) ; } ) ; }