Corrected File header recognition & processing