Overwrite files if necessary