Don't require to rewind object table before first iteration
Add directory object API
Add stat function to file object API