public void CheckFile(String temp, String GlobalName){
		
		String line;
		int noLine = 0;
		int flag = 0;
		GlobalCont = 0;
		
		ReadFile();
		
	//######### SET FIRST CONTLOC TO 0000 ##########	
	
		/*Formatter fmt = new Formatter(); 
		fmt.format("%04d",GlobalCont);
		String fmtPass = fmt.toString(); 
		//System.out.print(fmtPass);*/
		
		//contLoc.add("0000");	
	//############################################# 	
				
	//System.out.print(temp); ALL THE TEXT THAT WAS INTO THE TEXT AREA IS SENDED AS A STRING
		try{
			FileWriter Done = new FileWriter("temp.data");
			Done.write(temp);
			Done.close();	
		}catch(IOException Err){}	
		
		try
    	{
			BufferedReader br = new BufferedReader (new FileReader("temp.data"));
			
			while((line = br.readLine()) != null)
    		{
				
				StringTokenizer token = new StringTokenizer(line);
				
				int top = token.countTokens();
    			
				if(line.startsWith(";") == true)					
					StartComment(line, noLine);
				else
					if (line.contains(";") == true)
						Comment(line, noLine, top, token);
					else
	    				if(line.startsWith(" ") || line.startsWith("\t") == true )
	    					TabCheck(line, token, noLine, top);
	    				else
	        				PerfectCase(line, token, noLine, top); 
				
    			flag = flag + 1;
				//System.out.println(line);		
    			//System.out.println("Numero de Tokens = " + top);  		
    		}
			
			br.close();
			
    	}catch(FileNotFoundException f){System.out.println("No existe Archivo....");}
			catch(IOException ioe){System.out.println("Error de Archivo....");}	
		
		
/*/########################### TEST ########################
		
			
				String hexB = Integer.toHexString(GlobalCont);
				
				int size = hexB.length();
				
				if (size == 1)
					contLoc.add(flag - 1,"000" + hexB);
				else
					if (size == 2)
						contLoc.add(flag - 1,"00" + hexB);
					else
						if (size == 3)
							contLoc.add(flag - 1,"0" + hexB);
						else
							contLoc.add(flag - 1, hexB);
					
			
//#########################################################*/			
			
		 
		addEmpty( noLine );
		SetText();
		WriteLST(GlobalName);
		WriteLST1(GlobalName);
		WriteTBS(GlobalName);
		WriteS19(GlobalName);
		

	}