You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mkrecent.rb
    path of file: ./repos/roma/lib/roma/tools
    
    the code of the file until where you have to start completion: #!/usr/bin/env ruby
#
# usage:mkrecent dgst-bits div-bits divnum storage-path1 storage-path2 recent-storage-path
    
    def open_storage(p1,p2,rp)
      puts "Open #{p1}"
      @st1 = ropen(p1)
      @st1.each_vn_dump_sleep = 0
      exit unless @st1
      puts "Open #{p2}"
      @st2 = ropen(p2)
      @st2.each_vn_dump_sleep = 0
      unless @st2
        STDERR.puts ""
        @st1.closedb
        exit
      end