Remove trash.
Set PDF-specific filters only if output is PDF.
PEP8.
ZIP processor has no set of supported filename extensions for input.
Let processors abort when input in wrong format.