Removed 2nd file size member and added component prototypes
Changing nz structure for different compression algorithm
Added file reading
Added missing call to 'free'