Make sure to skip a file if BaseFileAdapter.getBaseItem returns null.