Use filename instead of hardcoded filename