I want to load some lua file, and then paste it into middle of my code.

Like:

```
do
local abc = 123
dofile "somecode.lua"
end

```

And the somecode.lua file is:

```
if abc == 123
print("hello") end

```

What i expected progress and output from these codes&file:

```
do
local abc = 123
if abc == 123
print("hello") end
end

output: hello

```

But the real output displayed nothing because the 'local' declaration does not affect to the dofile function.

I wanna know way to insert a code into a middle of code that working as above(what i expected). there is any function that fits in my want?