add OPTIONALLY to ENCLOSED statement.
added some comments and splited files.