some refactoring around job filenames