Added reading of sprite files.