correction to ensure file name is not liberated during rest request