You should change the file format so that:
- The extension is
gz
- The part before the extension is appropriate for your file, so that when
.gz
has been removed, it will be a reasonable filename.
So instead of converting myfile.pdf
into myfile.pdf_31_7_2013.zip
, I'd convert it into myfile-20130731.pdf.gz
. When it's extract, it will become myfile-20130731.pdf
. Note that using yyyyMMdd
is cleaner than MM_d_yyyy
as it's sortable and unambiguous.