disk handling
reducing unneeded stuff in disk functions
using chars for testability
writing and reading chars from archive file