The docstring stated that the file must already exist while it shouldn't be the case as seen in the first check in the method.
1119533