BPMedia Upload Exception class, File Upload and Insert Attachment Handled