store_data_for_hash(): always return filename + add debug