Rec file format tweaks

It looks like there is some bad indentation going on here that would be nice to clean up.  Also, there is an empty if() case above with negated logic no less.  Was this intentional (will something eventually be done for the recordingFile != "null" case?)  or can the two if+else blocks be collapsed into one (recordingFile == "null") block?