one of the documented procedures in this installation of the ACS
apm_version_file_list { -type "" } version_id
What it does:
Returns a list of paths to files of a given type (or all files, if $type is not specified) in a version.
Defined in: /web/philip/packages/acs-core/apm-procs.tcl

Source code:

arg_parser_for_apm_version_file_list $args

    if { ![empty_string_p $type] } {
	set type_sql "and file_type = '[db_quote $type]'"
    } else {
	set type_sql ""
    return [db_list "
        select path from apm_package_files
        where  version_id = $version_id
        $type_sql order by path