Added recorded traces;
Refined the filename for storing traces, replacing spaces with
underscores.