added basic file loading