List of utility methods to do Create Directory
if (f.exists()) { return f.isDirectory(); for (int i = 0; i < 10 && !f.isDirectory(); ++i) { f.mkdirs(); return f.isDirectory();