querying ReceiptFile for unique ids instead of preferences