The created pdf file is now added to the media files list.