Comparing existence of massive number of files