Working towards deleting invalid samples; cache PDF