Being able to read from file better design