added isDurEmpty check
fixed isDirEmpty()
Merge branch 'filestorage'