find key & open file in gems