starting file i/o and crap