Replace paths to single file with path to *.root