How to Separate or Combine Scanned Documents Like a Pro