add id to the repo file name on demand;
if file with same name already exists