public static void main(String[] args) {
		
		FileReader fr = null;
		String Folder=Long.toString(System.nanoTime());
		try {
			File A=new File("idents.txt");
			fr = new FileReader (A);
			BufferedReader br = new BufferedReader(fr);
			String linea;
			ArrayList<String> ListaFiles=new ArrayList<String>();;
			while  ((linea = br.readLine())!=null)
			{
				ListaFiles.add(linea);
			}
			
			if (args.length==0)
				Todo.processLines(ListaFiles, Folder);
			else if (args[0].equals("S"))
				Sueltos.processLines(ListaFiles,Folder);
			else if (args[0].equals("C"))
				Unidos.processLines(ListaFiles,Folder);
			else if (args[0].equals("T"))
				Todo.processLines(ListaFiles,Folder);

			
			br.close();
			System.out.println("FIN");
		} catch (Exception e) {
			e.printStackTrace();
		} finally
		{
			try{                    
	            if( null != fr ){   
	               fr.close();     
	            }                  
	         }catch (Exception e2){ 
	            e2.printStackTrace();
	         }
		}
		
	}