close dictionary file