These files could be grouped in a static class or (better) in a separate "paging.py" module. Then after `from . import paging` you can use `'file_list': paging.file_list_producer`.