@Override
    public void load(){
        try {
            BufferedReader reader=new BufferedReader(new FileReader(new File(filename)));
            while(true){
                String currency = reader.readLine();
                if(currency==null)break;
                if(!currency.contains(","))continue;
                CurrencySet.getInstance().add(new Currency(currency.split(",")[0], currency.split(",")[1], currency.split(",")[2]));
            }
        }
        catch (FileNotFoundException ex){
            System.out.println("No se ha encontrado un fichero con ese nombre");
        }
        catch (IOException ex){
            System.out.println("Ha ocurrido un problema leyendo el fichero");
        }
    }