def METHOD_NAME(self):
    # create and write data file
    data_file = NWBFile(
        session_description='a test file',
        identifier='data_file',
        session_start_time=self.start_time
    )
    data_file.add_acquisition(self.container)
    with HDF5IO(self.data_filename, 'w', manager=get_manager()) as data_write_io:
        data_write_io.write(data_file)
    # read data file
    manager = get_manager()
    with HDF5IO(self.data_filename, 'r', manager=manager) as data_read_io:
        data_file_obt = data_read_io.read()
        link_file = NWBFile(
            session_description='a test file',
            identifier='link_file',
            session_start_time=self.start_time
        )
        link_container = data_file_obt.acquisition[self.container.name]
        link_file.add_acquisition(link_container)
        self.assertIs(link_container.parent, data_file_obt)
        with HDF5IO(self.link_filename, 'w', manager=manager) as link_write_io:
            link_write_io.write(link_file)
    # read the link file, check container sources
    with HDF5IO(self.link_filename, 'r+', manager=get_manager()) as link_file_reader:
        read_nwbfile = link_file_reader.read()
        self.assertNotEqual(read_nwbfile.acquisition[self.container.name].container_source,
                            read_nwbfile.container_source)
        self.assertEqual(read_nwbfile.acquisition[self.container.name].container_source,
                         self.data_filename)
        self.assertEqual(read_nwbfile.container_source, self.link_filename)