rename file and refresh getAs[T]