Its ok, thanks...
the problem was i opened the file as "r"
and couldn't write there...


Thanks anyways...
-Tal