Simplify loading functtions.
Fix loading multiple files