A simple contents extractor