fixed wrong filename & double hex encode bug