code: private static boolean isSupported(final File file)
          {
          final String extension = FilenameUtils.getExtension(file.getName());
          if (StringUtils.isBlank(extension))
              {
              return false;
              }
          
          final String[] types = 
              {
              "mp3", "aif", "aiff", "wav", "mp2", "mp4",
              "aac", "mid", "m4a", "m4p", "ogg"
              };
          if (ArrayUtils.contains(types, extension.toLowerCase()))
              {
              return true;
              }
          return false;
          }
docs: Returns true if the extension of name is a supported file type.