public static short getDays(String snid)
    {
        short old = -1;
        try
        {
            BufferedReader br = new BufferedReader(new FileReader(new File((new StringBuilder("conf/sn_start_")).append(snid).append(".conf").toString())));
            br.readLine();
            String old_days = br.readLine();
            br.close();
            old = Short.parseShort(old_days);
        }
        catch(FileNotFoundException e)
        {
            e.printStackTrace();
        }
        catch(IOException e)
        {
            e.printStackTrace();
        }
        return old;
    }