Based on source code originally developed in the PaDaF project. Copyright (c) 2010 Atos Worldline SAS