updates to file wrapper