This commit adds file reading and saving.