Handle overwriting of files
