functional record utility

Still adding a few changes that will allow anyone to name a file as
they would like.