public static boolean fileCreate(String path)
    {
	if(isPathValid(path))
	{
	    try 
	    {
		File file = new File(path);

		if(!file.isDirectory())
		{
		    // Create file if it does not exist
		    boolean success = file.createNewFile();
		    if (success) {return true;}
		    else {return true;}//file already exists
		}else{ return false; }//It's a directory
	    } 
	    catch (IOException e) {return false;}
	}
	else
	    return false;
    }