Check if files have changed