Implemented file loading