Create replaceFileExtension

I had hundreds of files I wanted to grab a certain string from, so to loop through them I had to change their file extensions to allow for easier parsing. I used this.

(a) Used during a case at work to replace .dat