function updateFileName(fName){
    document.getElementById("fileName").value = fName.match(/[^\/\\]+$/);
}
