Put fail file capture regex to constant