Added doc strings, and fix for decompressFile