added logging to diagnose missing files