private boolean gatherFreePointers(){
        String keys;
        try{
            keys = fileToString(freeSpace);
        }
        catch (RuntimeException e){
            System.out.println("Can't read free space storage, perhaps it's empty");
            return false;
        }

        String pos = "";
        String length = "";
        boolean posFLG = true;
        for (char ch : keys.toCharArray()){
            if (ch == '-'){
                posFLG = false;
                continue;
            }
            else if (ch == ';'){
                posFLG = true;
                freePointers.put(Long.parseLong(pos), Integer.parseInt(length));
                pos = "";
                length = "";
                continue;
            }
            if (posFLG){
                pos += ch;
            } else {
                length += ch;
            }
        }
        return true;
    }