rewrite of the upstream plugin
rewrite of the upstream-files plugin