Added functionality to load file after saving