nl_tokens: Recursively creates a file
pl_tokens: function writePath ( parentDir , path , data ) { let files = <mask> . split ( '/' ) ; let file = files . shift ( ) ; // init file if ( ! parentDir [ file ] ) parentDir [ file ] = { content : undefined , tree : { } } ; if ( files . length > 0 ) { writePath ( parentDir [ file ] . tree , files . join ( '/' ) , data ) ; } else if ( data ) { parentDir [ file ] . content = data . toString ( ) ; } }