deserialize done for TextFile