Added reading and rendering of files