tried to fix it
Fixed fileWriter