prevent new file beeing opened at startup