capture original filename as this is useful