s4:ldb:python/api: use filename() instead of hardcoded filenames