Sorry to nag you again, but its still not working. Same problem, file just keeps growing........ The loop doesnt end.

I am not sure why, never used file in binary mode before so dont know whats going on.

Thanks for your patience again