Fixed fileName sanitizing