Added the ability to change the  filename on a global basis