create path, delete/create folder by pattern, get filename/extension