Reads in cube file