Fixed File Reading, added reading compatibility for Hessam's format