private loadfilefunction

loadfile(env, path)

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