public static void main(String[] args) {
        // TODO Auto-generated method stub
        File _myFile = new File(".//Atom Results//10.200.252.105");
        String lineSeperator = "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++";
        String _tempString;
        StringBuffer _buffer = new StringBuffer();
        int _index;
        String _line;
        Scanner _fileScanner;
        int i;
        try {
			_fileScanner = new Scanner(_myFile);
			while(_fileScanner.hasNextLine()){
                _tempString = _fileScanner.nextLine();
                _index = _tempString.indexOf("Date & Time");
			if(_index>=0){
                _buffer.append(_tempString); 
                _buffer.append("\n");
			}
			_index = _tempString.indexOf("df -k");
			if(_index>=0){
	            i = 1;
	            while(_fileScanner.hasNext()&&(!(_line = _fileScanner.nextLine()).equals(lineSeperator)||(i == 1))){
	                _buffer.append(_line);
	                _buffer.append("\n");
                    i++;
                }
            }
			}
			//System.out.println("Buffer contents :\n"+_buffer.toString());
        } catch (FileNotFoundException e) {
                        // TODO Auto-generated catch block
                        System.out.println(e);
                        e.printStackTrace();
        }
        File _tempFile ;
        FileWriter _writeToFile; 
        try {
        	_tempFile = new File(FileName);
        	if(!_tempFile.exists()){
        		_tempFile.createNewFile();
			}
        	_writeToFile = new FileWriter(_tempFile);
        	_writeToFile.append(_buffer.toString());
        	_writeToFile.close();
        	getContentAsDefined();
        } catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        
        
}