Deleting file to early.