Fixed: filename gets extracted (not whole path is used). Rem: leftover and not used regexprs.