safety switch for unopened file