Removed previous JSON/XML loader with a new JSON loader.
Renamed the json loader to file loader since it can load any file type
into text.
getFile now returns a literal which contains its data and file path.
Cleaned up code, changed addFile to file to conform

Implemented on-load callbacks for files.