Added stuff to produce spiral files