Add optional name for temp file
Merge pull request #1 from mince27/temp_file_option

Add optional name for temp file