Added swaping spike times which to file