Beginning to implement the processpdf file