Better output on file handling warnings

Change-Id: I64810ab2ac3fdad3a6b7ed64f169cd7477e031be
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Fix some typos

Change-Id: If5977c65f6243e5d47a494ce5a93d0d9206eebfe
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Some small cleanup

Change-Id: I70e17afbe60dead1486672cc20f8816612c69fef
Reviewed-by: Caroline Chao <caroline.chao@digia.com>