Refactoring instance variables in FileHamdling