Rewrite, now opens the file and makes a byte array.