implement default methods for Objects for isFile() etc