added getWorkoutLog function to get workoutLog from file