Fix for file class