Add AbstractProcessor::isValidAttachment(File) method.