printf("Failed to open output file. Check that the directory exists and that the file is not already opened by another process.");
printf("Failed to open output file. Check that the directory exists and that the file is not already opened by another process. %s",ma_result_description(result));