private static void delayForTest() {
        //simulate an image fetch delay for testing purposes
        if (TEST_DELAY_TIME_MS <= 0) {
            return;
        }

        try {
            Thread.sleep(TEST_DELAY_TIME_MS);
        } catch (InterruptedException ie) {
            //do nothing
        }
    }
Load a previously saved image.

@param file      the file on disk
@param forceKeep keep the image if it is there, without checking its freshness
@return a triplet with image in the first component, Metadata in second (only if loadMetadata=true) and
{@code true} in the third component if the image was there and is fresh enough or {@code false} otherwise,
and the image (possibly {@code null} if the third component is {@code false} and the image
could not be loaded, or if the third component is {@code true} and {@code onlySave} is also
{@code true})
main/src/main/java/cgeo/geocaching/network/HtmlImage.java