Add file if inexistant.
Fix adding new line to file.