Append Text to the Beginning of a File

What I want is a way to have Hazel automatically add YAML header to files I add to a folder. What this would mean is that when a file is put into the folder that Hazel is monitoring, it would find the name and date created of that file. Then it would put at the beginning of that file:
Title: (file name)
Date: (date created, preferably in YYYY-MM-DD format).
I find that this is not offered stock with Hazel. So what I might need to do is to have Hazel run a shell or applescript. But my scripting skill is nonexistent and I have no idea how to do that. Could somebody offer me assistance?
Title: (file name)
Date: (date created, preferably in YYYY-MM-DD format).
I find that this is not offered stock with Hazel. So what I might need to do is to have Hazel run a shell or applescript. But my scripting skill is nonexistent and I have no idea how to do that. Could somebody offer me assistance?