mark struct file that had write access grabbed by open()