function createObject(fo, enc){
	
}

function fileInfo(file){
	
	return file.split(".");
	
}

function fileName(file){
	return fileInfo(file)[0];
}

function fileExt(file){
	return fileInfo(file)[1];
}


/**
 * This function if for this project only
 * @param src
 * @param width
 * @param height
 * @return
 */
function generateProperUrl(src,width,height){
	
	//we need to cut the last two parts of the string
	newUrl = src.substring(0,src.lastIndexOf('/'));
	newUrl = newUrl.substring(0,newUrl.lastIndexOf('/'));
	
	newUrl = newUrl+'/'+width+'/'+height;
	return newUrl;
}

