nl_tokens: helper - extract file extension from file name
pl_tokens: function getExt ( filename ) { var splitted = filename . <mask> ( '.' ) ; if ( splitted . length === 1 ) return '' ; // file has no extension return splitted [ splitted . length - 1 ] ; // get file extension }