Preflare current sheets in the solar atmosphere