store received file on disc