Prefer sizeof variable over size of type
Improve file related variable naming