Added docstrings to initializeExperiment and saveFile. Added output in the while True loop of recordData.