Yeah it wasn’t so much that as it was, “when the heck did they have TIME to do it?” They were in a mad rush to find and retrieve the data file while K-2 was simultaneously helping them search and fending off wave after wave of troopers. At least for Luke and co. it happens in a moment of relative downtime when they aren’t actively running from troops.
It’s not a big deal, just a funny little observation.