Adds sequential filename functionality