Changing File URL handling for local storage