First WIP at writing extracted file to disk