support regex in filename