debugging of file attachment api - somewhat functional but the attachment info structure in the item table needs to be re-done.