Improved FileSystemAdapter class.