pdf.codument_type is now file