urf... bundling operations within for loop, so input files don't just get repeatedly overwritten and the last one only bundled