Fixed this now, should just raise if not file already exists error.