resove deplicated file reference