Add clearFile() method
Formatting
Fix warnings