Added multi entry functionality

      You can now pass multiple files at once and get the desired
      result. it is a complete hack though so you should concider
      writing it again later in a more elegant fashion.