added error-handling for case when calling list when a directory has been removed since previous call to find