failOnExist param added
0.1.3