test file objects to gen