Fixed bug in delete. Now just need it to write all of header to file, write file contents, delete original archive, rename temp to original