Custom filename

I need to be able to customize filenames rather than just use the template's. This probably isn't the best way to implement this, but I didn't want to mess around too much. Thoughts?