How can I find the file some element is loaded from?

I manage a website which is based on Drupal CMS. I have FTP access and I want to modify the structure of the header.

I know that the header is loaded from separated php file but I don’t know what is the path to the file and how to find it in FTP.

Is there any way in Chrome dev tools to find the path to the file and is there a general way to find the files from which some part is loaded?

Remove specific characters from ftp url fast

Is there any plug-in for Chrome browser, which might fast remove ‘ – chars from ftp urls?

I work everyday with FTP accounts, and have ftp in such format:


If to copy such link and paste it in WinSCP for example or FileZilla, it won`t connect due to incorrect user or password, that is because of ‘ – characters, which are isolating user and pass, any tip to fast remove that characters?

Thanks for any piece of advice!