Configure output file pattern and special variable