nl_tokens: Opens an archived resource container . If the container is already opened it will be loaded
pl_tokens: function openContainer ( container_archive , container_directory , opts ) { opts = opts || { compression_method : 'tar' } ; if ( fileUtils . fileExists ( container_directory ) ) { return loadContainer ( container_directory ) ; } if ( ! fileUtils . fileExists ( container_archive ) ) return Promise . reject ( new Error ( 'Missing resource container' ) ) ; if ( opts . compression_method === 'zip' ) { return compressionUtils . unzip ( container_archive , container_directory ) . then ( function ( dir ) { return loadContainer ( dir ) ; } ) ; } else { return compressionUtils . untar ( container_archive , container_directory ) . <mask> ( function ( dir ) { return loadContainer ( dir ) ; } ) ; } }