public LawnMowersController(final String fileName) throws IOException,FileFormatException, NoMowerFoundException {
		lawnMowerControllers = new ArrayList<LawnMowerController>();
		String lawnConfiguration = null;
		
		BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(fileName)));

		String currentLine = null;
		currentLine = reader.readLine();
		
		if (currentLine != null) {
			lawnConfiguration = new String(currentLine);
		}
		
		int mowersCount = 0;
		
		while ((currentLine = reader.readLine()) != null) {
			String mowerPositionAndDirection = new String(currentLine);
			currentLine = reader.readLine();
			if (currentLine == null) {
				reader.close();
				throw new FileFormatException();
			}
			String mowerCommandList =  new String(currentLine);
			
			try {
				lawnMowerControllers.add(new LawnMowerController(mowerPositionAndDirection,mowerCommandList,lawnConfiguration));
			} catch (Exception e){
				reader.close();
				throw new FileFormatException();
			}
			
			mowersCount++;
		}
		
		if (mowersCount ==0 ){
			reader.close();
			throw new NoMowerFoundException();
		}
		reader.close();
	}