Cant apply code changes because file path is duplicated

I am unable to apply code changes as the file path appears to be duplicated. How can i fix this?