Trying to automatically delete files on network volume by file type


I have a network share called TempTransfer used just to temporarily transfer items. I am trying to work out the syntax to automatically delete LWFN file types through all folders in the share.

I found this and it work but i have to individually point to the specific folder.

Please can someone help me with this


	tell application "Finder"
		delete (every file of (choose folder) whose file type is "LWFN")
	end tell
end try