I have the below code which works up until i try to move the file once I have extracted the attachment. The error says the file is still open and i have confirmed that when