Added code to handle case where saved directory no longer exists;