daniel88 wrote:[...] but it doesn't work [...]
Thats has more or less nothing to do with a good error reporting.
Please try again better.
What is in the file?
What is the expected result by executing the file?
What is the result you get?
Do you get any error messages?
We know absolutely nothing about what you are doing there.