             let result = try TarContainer.open(container: testData)
 
             XCTAssertEqual(result.count, 1)
-            XCTAssertEqual(result[0].name, "test1.answer")
-            XCTAssertEqual(result[0].size, 14)
-            XCTAssertEqual(result[0].isDirectory, false)
-            XCTAssertEqual(result[0].data(), answerData)
+            XCTAssertEqual(result[0].info.name, "test1.answer")
+            XCTAssertEqual(result[0].info.size, 14)
+            XCTAssertEqual(result[0].info.isDirectory, false)
+            XCTAssertEqual(result[0].data, answerData)
         }
     }
 

        XCTAssertEqual(result.count, 5)

        for entry in result {
            let name = entry.name.components(separatedBy: ".")[0]
            guard let answerURL = Constants.url(forAnswer: name) else {
                XCTFail("Unable to get answer's URL.")
                return


            let answerData = try Data(contentsOf: answerURL, options: .mappedIfSafe)

            XCTAssertEqual(entry.data, answerData)
            XCTAssertEqual(entry.info.isDirectory, false)
            XCTAssertNotNil(entry.info.accessTime)
        }
    }

