Fixed error file already exists