decode files which consist of multiple concatenated sequences