Added function comment, and corrected spike outfname