properly get all source files
more helpful logging
refactor to be callable as function
add optional # source files trunc option
don't clear caches, precache parsers