Fixed xml object bugs

List field was not being initialized and was throwing a
nullPointException. Added ".xml" to the end of the file path so that it
creates XML's instead of generic files.