Implemented file permissions in the XML
Changed a note on a TODO to FIXME to indicate how breaky it is