Filter files in DIR by their extension name is solved.