Code for image filenames does already exist in file.py, it's better to not spread this too much.