Restarted writing file, Working