Save to file, read from file, flush directory