BUGFIX: addFile() takes also replicaDict argument