Fixed bug with compare files