Got rid of duplicated code in FilesystemForeignSourceRepository classes.
Added ResourceWalker interface.
Got rid of duplicate code in ReportInstance classes.