public List<String> pobierzListeLiniiZPliku(String plik){
		List<String> lines = new ArrayList<String>();
		Scanner sc = null;

		try{
			
			sc = new Scanner(new File(plik));
			while(sc.hasNextLine()){
				lines.add(sc.nextLine());
			}
		
		} catch (Exception e){
			e.printStackTrace();
		} finally{
			if (sc!=null)sc.close();
		}
		return lines;
	}