Implemented packed file I/O