private void updateFileSizeAndSignature() throws Exception {
  for (  String filename : files) {
    File file=new File(folder + "/" + filename);
    prop.put("file-size." + filename,Long.toString(file.length()));
    String fullFilename=folder + "/" + filename;
    String signature=signer.sign(fullFilename);
    prop.put("file-signature." + filename,signature);
  }
}

private void updateFileSizeAndSignature ( ) throws Exception { for ( String filename : files ) { File file = new File ( folder + "/" + filename ) ; prop . put ( "file-size." + filename , Long . toString ( file . length ( ) ) ) ; String fullFilename = folder + "/" + filename ; String signature = signer . sign ( fullFilename ) ; prop . put ( "file-signature." + filename , signature ) ; } }
update the file size and signature sections
