add func StatDir ignored “.DS_Store”