now won't try to add files that already exist or try to open threads that aren't there