Clarifying usage of filename parameter

I've clarified the usage of the filename parameter in the documentation.

I think this parameter would be better named ```filename_template``` or ```filename_prefix```. The way it is currently used the value of parameter shouldn't be an existing file or directory which can be confusing. I'm not addressing this for now as it is a bigger change and probably warrants a bit of discussion.