diff --git a/Core/src/org/sleuthkit/autopsy/examples/SampleDataSourceIngestModule.java b/Core/src/org/sleuthkit/autopsy/examples/SampleDataSourceIngestModule.java index f719012610..03c0ab725e 100755 --- a/Core/src/org/sleuthkit/autopsy/examples/SampleDataSourceIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/examples/SampleDataSourceIngestModule.java @@ -99,8 +99,8 @@ class SampleDataSourceIngestModule implements DataSourceIngestModule { // Get files by creation time. long currentTime = System.currentTimeMillis() / 1000; long minTime = currentTime - (14 * 24 * 60 * 60); // Go back two weeks. - List otherFiles = sleuthkitCase.findFilesWhere("crtime > " + minTime); - for (FsContent otherFile : otherFiles) { + List otherFiles = fileManager.findFiles(dataSource, "crtime > " + minTime); + for (AbstractFile otherFile : otherFiles) { if (!skipKnownFiles || otherFile.getKnown() != TskData.FileKnown.KNOWN) { ++fileCount; }