added functions that make nicely versioned filenames, and find the
newest versioned filename in a directory