You posted pretty much the same code yesterday, and the same error list: and you still haven't fixed it?
Come on - look at what you have written and look at the error messages, they are mostly pretty clear.
Line 12: is a "}" so it's probably the line above:
fd.close;
And the error is talking about functions, so ... shouldn't
close
have brackets:
fd.close();
The other two I can't even see any lines for, so I can't comment, but it's probably pretty obvious if you read the error and the code then think about the actual syntax of the language.
While we are happy to help people, fixing compilation errors is a fundamental part of coding: if you can't do it yourself, then you are going to get very much overwhelmed very quickly - and that means that if you want to be able to write an app any anything approaching one line of working code a day then you are going to have to start fixing them yourself as it truly is much, much quicker than waiting for others to do it for you.
And if you post code in future, for your own good, use the "code" widget above the entry text box; it preserves your formatting and translated html characters like < and > so they don't mess up what you paste in...