changed: Store files to transfer in a vector + refactor