file downloaded and verified in memory