the returned filename is never actually used