use require, when a file provides a module instead of load-file; move pretty-xml function into a new file;