@Override
public FileConversionActions convertFile(File file, JSONObject doc, CouchDesignDocument dd) throws Exception {
FileConversionActions actions = new FileConversionActions();
GpxFactory factory = new GpxFactory();
try {
Gpx gpx = factory.loadFromFile(file);
if( null == gpx ) {
throw new Exception("Conversion returns null object");
}
GpxConversionContext context = new GpxConversionContext();