cleaned up spark file