Implemented basic file loading