update PMBlog::get_file to static function.