new method that allows you to load a file with packets in it and then write them...