Hi Joe, Shouldn't this > zero_file_seqwrite(S, Len, B, Size) when Size > Len -> be zero_file_seqwrite(S, Len, B, Size) when Size =< Len -> instead? The second version works completely fine. regards, Vlad