When you plug into the USB port there is a pop-up that offers options such as file transfer, charging etc. You are usually offered the options and the choice of "always" and "just this time". It appears at some point you picked "always" for file transfer.