file comparison fixed