- Improved error management for exists method
- changed isDirectory to always return false