coded match regex with built-in files.