implemented creation of boxfile.