Would you mind using my style here? e.g. `if (!file.exists( "logs")) dir.create("logs")