How to set a path and filename partly through the use of variables

Try the methods here: