Ignore .DS_Store files
Fix on isValid method