Initial perl implementation of filename->content. (with cache)