Why not use the filename from the previous line to save a round-trip to `get_filename_from_hash`?