trying to diagnose missing file and directory errors.