Added loadinputfile in CubeModel