Adds a pdf version of the file.