plot3 and plot4 completed; dataFile now correctly set outside any function