Enhance the file.isDirFormat
Rename isDirFormat  to isDirname
Update test and docs