Fixed a bug on mite init.  Filename wasn't generating properly

Let me know if I can do anything else yo.