Modified how output is printed
Modified how examples are run to use system.file.