In addition to what @armingrudd wrote you can read more about handling of xml and JSON Files in this thread
And this blog