Fix get filename