Create ZIP files from containing related files from multiple folders
Heres your script as promised. Any questions or suggestions? Comment below :)

What the script does: Searches through a selected folder for folders. Searches through each one of those for files. If those files contain a specified search parameter then the file is moved to a folder in a location specified. Once all files are checked, the files in the folders at the location specified is ziped up.

For what you want: First Prompt choose the /files folder. In the second prompt enter 8199.

The Script:

set myFolder to choose folder with prompt "Choose a Folder" # Choose the /files folder
display dialog "Enter Your Search Paramaters" default answer "" #Enter "8199"
set mySearch to the text returned of the result
set myZipLocation to the POSIX path of (choose folder with prompt "Choose where to save your ZIP file")
display dialog "Enter the Name of Your Compress File" default answer ""
set myZip to the text returned of the result
tell application "Finder"
    set myFolders to every folder in folder myFolder
    set myFiles to {""}
    repeat with i in myFolders
        set myFiles to myFiles &amp; every file in i
    end repeat
    do shell script ("mkdir " &amp; the quoted form of (myZipLocation &amp; "/" &amp; myZip))
    repeat with i from 2 to count of myFiles
        if the name of (item i of myFiles) contains mySearch then
            set myPOSIX to the quoted form of (the POSIX path of (item i of myFiles as alias))
            do shell script "cp " &amp; myPOSIX &amp; " " &amp; the quoted form of ((myZipLocation &amp; "/" &amp; myZip) &amp; "/" &amp; the name of (item i of myFiles))
        end if
    end repeat
    do shell script "cd " &amp; the quoted form of myZipLocation &amp; "&amp;&amp; zip -r " &amp; quoted form of (myZip &amp; ".zip") &amp; " " &amp; quoted form of myZip
end tell