initializer fails to determine size of 'map1'

Hello! Thanks mods for answering my previous question!
I’m in another trouble!
When I want to compile code, I get this.

/tmp/047446520/PowerOS/PowerOS.ino:20:38: error: initializer fails to determine size of 'map1'

/tmp/047446520/PowerOS/PowerOS.ino:20:38: error: array must be initialized with a brace-enclosed initializer

I’m using Arduino Create.
Here is the code:
PowerOS.ino

// Adafruit SSD1306 - Version: Latest 
#include <Adafruit_SSD1306.h>
#include <splash.h>
#include "PowerOS.h"
#include <SD.h>
#include <SPI.h>

int left_button = 1;
int right_button = 2;
int ok_button = 3;
int cancel_button = 4;

int WCharge = 8;

File PMaps;

void setup() {
  SD.begin(7);
  PMaps = SD.open("map1.txt");
  unsigned char map1 [] = PMaps.read();
  PMaps.close();
  startup();
  pinMode(led, INPUT);
  pinMode(WCharge, OUTPUT);
  pinMode(left_button, OUTPUT);
  pinMode(right_button, OUTPUT);
  pinMode(ok_button, OUTPUT);
  pinMode(cancel_button, OUTPUT);
}

void loop() {
  if (digitalRead(left_button) == HIGH){
    if (currentState==3){
      main2();
      delay(500);
    }
    else if (currentState==2){
      main1();
      delay(500);
    }
    else if (currentState==4){
      main3();
      delay(500);
    }
    else if (currentState==5){
      main4();
      delay(500);
    }
    else if (currentState==13){
      main5();
      delay(500);
    }
    else if (currentState==7){
      game = game-1;
      delay(500);
    }
    else if (currentState==10){
      state = state-1;
      delay(500);
    }
    else if (currentState==12){
      state = state-1;
      delay(500);
    }
  }
  if (digitalRead(ok_button) == HIGH){
    if (currentState==2){
      pgames();
      delay(500);
    }
    else if (currentState==3){
      about();
      delay(500);
    }
    else if (currentState==5){
      psettings();
      delay(500);
    }
    else if (currentState==7){
      if (game==1){
        //game-mytja.game1();
        //currentState = 99;
      }
      else if (game==2){
        //game-mytja.TestGame();
        //currentState = 99;
      }
    }
    else if (currentState==13){
      pmaps_choose();
    }
    else if (currentState==10){
      if (state==1){
        planguage();
      }
      else if (state==3){
        wirelessch();
        state = 1;
      }
    }
    else if (currentState==14){
      if (state==1){
        
      }
    }
    else if (currentState==12){
      if (state==1){
        digitalWrite(WCharge, LOW);
      }
      else if (state==2){
        digitalWrite(WCharge, HIGH);
      }
    }
  }
  if (digitalRead(right_button) == HIGH){
    if (currentState==1){
      main2();
      delay(500);
    }
    else if (currentState==2){
      main3();
      delay(500);
    }
    else if (currentState==3){
      main4();
      delay(500);
    }
    else if (currentState==4){
      main5();
      delay(500);
    }
    else if (currentState==5){
      pmaps_main();
      delay(500);
    }
    else if (currentState==7){
      game = game+1;
      delay(500);
    }
    else if (currentState==10){
      state = state+1;
      delay(500);
    }
    else if (currentState==12){
      state = state+1;
      delay(500);
    }
  }
  if (digitalRead(cancel_button) == HIGH){
    if (currentState==7){
      main2();
      delay(500);
    }
    else if (currentState==8){
      main3();
      delay(500);
    }
    else if (currentState==10){
      main5();
      delay(500);
    }
    else if (currentState==12){
      psettings();
      delay(500);
    }
    else if (currentState==11){
      psettings();
      delay(500);
    }
    else if (currentState==13){
      pmaps_main();
      delay(500);
    }
  }
}

Here is also my GitHub respository: https://github.com/mytja/PowerOS-MyTja
Thanks for your time (and I’ve done code tags)!

unsigned char map1 [] = PMaps.read(); ?