Why don't you trust the `unique_file` function?