Change mode of files to be more secure