Fixed compare for open and symbolless files. Aligned compare implemenation with T8suite.