Wrote deletefile() function that will delete a single file. Useful for extract(). Needs to be tested.