Like the extract sample program, the subfiles sample program uses the subfile extraction API methods. However, rather than copying the files to disk, it prints the number of embedded subfiles, and the information that could be obtained about each one, such as the file name and size. The API methods that the sample programs uses are typically very fast compared to the cost of extracting a large file.