FileHandler::writeFile implemented