use pattern in dir()