} else if (paramValue.startsWith("file")) {
String localFile = paramValue.substring(paramValue.indexOf(":") + 1, paramValue.length());
FileInputStream fis = null;
try {
fis = new FileInputStream(localFile);
ftp.uploadFile(destURI, gssCred, fis);
} catch (IOException e) {
throw new GFacException("Unable to create file : " + localFile ,e);
} finally {
if (fis != null) {
fis.close();