Renamed method + flushFileHeader() must be callable and have protected access level.