Fixed and issue with overwriting files.