improving error reporting by passing in filename
added logic to calculate bit rate of a VBR file when Xing frame is broken.