regex does not match file