new method for not overwriting files