Handle freeing of file contents.
Treat warnings as errors and include more warnings.