added cube file input