Add files to the repository when operation "add to collection" is called.