implement persist download file object