Keep the definition of output paths in one place
Currently, the expected input and output paths for generated files are hardcoded in various scripts. This is not easily maintainable and can cause errors if we have to manually modify them.
It would be better to have a configuration file and utility functions that return paths for different files.
For example, get_trainlog_file_path(results_dir)
could return results_dir/model/trainlog.pdf