First implementation of recover. Includes code to read file and check for jpegs. The count code doesn't work yet.