Adds files of the same name, doesn't work with some exceptional cases.