Handle path in filename