Modified file naming function
Merge pull request #104 from ChrisTruncer/replace_name

Modified file naming function