static public File getFileHandler(String file)
	{
		try { 
			File aFile = new File(file); 
			
			if (aFile == null || !aFile.exists()) {
				boolean success = aFile.createNewFile(); 
				if (success) 
					aFile = new File(file); 
				else  
					return null;
				 
		    }
		   
		    if (!aFile.canWrite()) {
		      return null;
		    }
		    
		    return aFile;
		} 
		catch (IOException e) 
		{ 
			return null;
		}
	}