fixed get filename