add 'verify only' mode of operation
handle empty files correctly