class FileCacheByPath {

    @Nullable
    public File get(@NonNull File f) {
        File file = new File(directory, key(f));
        if (file.isFile()) {
            return file;
        } else {
            return null;
        }
    }

    public  FileCacheByPath(@NonNull File directory);

}