Fixed typo in protected method
Refactored File to implement fileInterface