private static void scanSubDirs(File[] files) throws IOException
    {
        if (files != null)
        {
            for (File f : files)
            {
                if (f.isDirectory())
                {
                    File[] subDirectory = f.listFiles();
                    scanSubDirs(subDirectory);
                }
                for (String name : EXTENSIONS_VIDEO)

                {
                    if (FilenameUtils.getExtension(f.getName()).equalsIgnoreCase(name))
                    {
                        System.out.println(f.getAbsolutePath());
                        VideoButtonList.add(new VideoContentButton(f.getName(), f.getAbsolutePath()));

                    }
                }
            }

        }
    }