ok, the file is created, but it's empty.
Suggestions?