Fix code to fit in ruby style, rename files to temp for windows case sensitive reason.
Fix files name.