Trivial: Replaced "file()" with "open()" within the "_locking()" method