// Step 2: Check for/Create Config file
final File configFile = new File(DataUtilities.urlToFile(configDir).getAbsolutePath()
+ File.separatorChar + configBean.getCoverageName() + ".pgraster.xml");
URL url = DataUtilities.fileToURL(configFile);
Config config = null;
Connection connection = null;
final List<File> filesToBeDeleted = new ArrayList<File>();
if (!configFile.exists()) {
// Config file doesn't exist. Need to create it