Remove file and add repository