finalized fix to reading fingerprints from file