New naive encoding structure

With new file reader and a naive saver for saving the first file and
second file