public static void scanForFiles(File file, IFileScanner sc)
	{
		assert FileHelper.isReal(file);
		
		File[] files = file.listFiles();
		
		if (files == null || files.length == 0)
		{
			return;
		}
		
		for (File f : files)
		{
			if (f.isDirectory())
			{
				scanForFiles(f, sc);
				
			}
			
			if (!sc.scan(f))
			{
				return;
			}
			
		}
		
	}