public static String readLinesIntoOneLine(String file) {
		// TODO Auto-generated method stub
		BufferedReader reader = null;
		String multipleLines = "";

		try {

			reader = new BufferedReader(new FileReader(new File(file)));

			String line = null;
			while ((line = reader.readLine()) != null) {
				multipleLines += line + " ";
			}
			

		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (reader != null) {
				try {
					reader.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		//System.out.println(multipleLines);
		return multipleLines;
		
	}