Added to main loop: if valid test file detected, will prompt if user wants to run in real time