need to make sure file has been closed before pulling, added to README