I want to change the directory of my output files to a new path and my output filename should be same as fname (fname is the name I used for the original file).
fname