Added option to load a file