You cannot simply remove this line given that it defines the `binary` variable which is used later. Beside that you also missed to remove the directory traversal code.