small cube prints to file