I have an existing file "abc.pdf" on production: c:\inetpub\www\secure\mywebsite\files\abc.pdf

I would like to replace this to: c:\inetpub\www\secure\mywebsite\files\def.pdf

do I make this changes in visual studio and build and run, or do I just go straight to the c:\inetpub folder and simply replacing the file?