Added file i/o and "panic" functions