First Version, loadfiles work correctly