Adds possibility of downloading PDF attached files
Avoid setting format parameter wgile getting a file