use filename instead of default one