private loadfile — function

loadfile(env, path)

Loads a file. Extended by loadfile methods that dispatch based on the extension of the file.