Changed to Java 1.7
Added Apache Commons IO
Editted template in example