Added code to load file