adapt Transcoder to opening minimal number of files