updated files
updated header parsing