default xml regex for files depends on doc_type