Navy DIF file handler for Python