Working counter, adding files for knapsack