implementing file and folder domain objects