little fix for countFile.