Modify script to output hardlinks mapping to file.