using sets instead of maps in glob