Import files into Yojimbo

Hello -
I currently have a Hazel rule which periodically cleans my desktop, sorting files past a certain date into folders (named by file format) in Documents.
What I would like to do is have this rule import PDFs and Text files (.sh, .txt, etc) into Yojimbo and then set a Tag on them based on their file extension.
This sounds like a job for Applescript. Any ideas?
I currently have a Hazel rule which periodically cleans my desktop, sorting files past a certain date into folders (named by file format) in Documents.
What I would like to do is have this rule import PDFs and Text files (.sh, .txt, etc) into Yojimbo and then set a Tag on them based on their file extension.
This sounds like a job for Applescript. Any ideas?