Fixed bug with duplicate gathered files