Name change of a function, for consistency
Fixed the issue where files would not be overwritten