Added parameter to open and added clean to make file.