What happens if this throws? Could such a situation occur e.g. on Windows with a file lock?