export to pdf and loan type changes

save loan docs based on loan type in folder