Localize variable with name of existing file