added load file loop to beginning prompt