public void readFilterAndOutput(String host_database, int port_database, String db_name, String collection_name) {
		InputStream fis;
		BufferedReader br;
		String line;
		MongoClient mongo;
		DB db;
		DBCollection coll = null;
		
		try {
			mongo = new MongoClient(host_database, port_database);
			db = mongo.getDB(db_name);
			coll = db.getCollection(collection_name);
			boolean auth = db.authenticate("tecweb_user", "tecweb12345".toCharArray());
			if (auth) {		 
				System.out.println("Login is successful!");
			} else {
				System.out.println("Login is failed!");
			}			
		} catch (UnknownHostException e2) {
			// TODO Auto-generated catch block
			e2.printStackTrace();
		}
		
		try {
			fis = new FileInputStream(filePath);
			br = new BufferedReader(new InputStreamReader(fis, Charset.forName("UTF-8")));
			
			// Start reading
			while ((line = br.readLine()) != null) {
				JSONObject jObject  = new JSONObject(line);
				String text_tweet = jObject.getString("text_tweet");
				if(f.filter(text_tweet)) {
					// Tweets que pasan el filtro				
					DBObject dbObject = (DBObject) JSON.parse(jObject.toString());
					System.out.println("Insertando: " + dbObject.toString());
					coll.insert(dbObject);
				}
			}
	
			// Done with the file
			br.close();
		} catch (FileNotFoundException e) {
			System.out.println("File not Found");
			e.printStackTrace();
		} catch(IOException e1){
			System.out.println("IOException");
			e1.printStackTrace();
		} catch (JSONException e) {
			System.out.println("JSONException");
			e.printStackTrace();
		}
		
		br = null;
		fis = null;
	}