Add input type file to form generator
Add randomStr method to Tools class