Due some java.io.File bug or misunderstanding on my side, files are not deleted after encoding process.