Changes the import command to use a new timestamp recognition.

This avoid the need of prehashing all the data, that could
be very slow.