Add inode() method for retrieving file objects.