A modular and extendible file/format validation framework