Cater for PDF files, and timestamp format