Local status file open: misplaced bracket?

It seems the int() was placed around the file open, not around the result of the reading & splitting.