Added function to read raw compressed file