rest of file changes for pdf uploader