File validation fixed.