2 versions of loadfile