Fixed so returned filename is binary