Removed some redundant code about checking chunk names of RIFF files