add a public static void main method to list and optional extract the individual files from a compound. The original code was proposed by Garrett Rooney.