Add new material to file.