Added functions for initializing boxes with dot files