please remove unneeded space after variable open= check for rest of file. @MussabElDash