some changes to write the complete file with facilities and their options
Authored by: ziemke 2015-06-04
Parent: [r33391]
Child: [r33393]