removed line taking care of isequal(logfile{1},logfile{2}) as this is not needed anymore