fix countFile