         let entries = try SevenZipContainer.open(container: testData)
 
         XCTAssertEqual(entries.count, 1)
-        XCTAssertEqual(entries[0].name, "empty_file")
-        XCTAssertEqual(entries[0].isDirectory, false)
-        XCTAssertEqual(entries[0].size, 0)
-        XCTAssertEqual(try entries[0].data(), Data())
+        XCTAssertEqual(entries[0].info.name, "empty_file")
+        XCTAssertEqual(entries[0].info.isDirectory, false)
+        XCTAssertEqual(entries[0].info.size, 0)
+        XCTAssertEqual(entries[0].data, Data())
     }
 
     func testEmptyDirectory() throws {

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

        XCTAssertEqual(entries.count, 1)
        XCTAssertEqual(entries[0].name, "test1.answer")
        XCTAssertEqual(entries[0].isDirectory, false)
        XCTAssertEqual(entries[0].size, answerData.count)
        XCTAssertEqual(try entries[0].data(), answerData)
    }

    func test2() throws {

        let entries = try SevenZipContainer.open(container: testData)

        XCTAssertEqual(entries.count, 1)
        XCTAssertEqual(entries[0].info.name, "test4.answer")
        XCTAssertEqual(entries[0].info.isDirectory, false)

        guard let answerURL = Constants.url(forAnswer: "test4") else {
            XCTFail("Unable to get answer's URL.")
