Change listTree to allow params & added showFile

Needed to add parameters to listTree to support ref and path arguments.
Added showFile to get raw file contents.