whenever all wires are involved with the least amount of transformations that is your fastest route. PC to Switch to NAS is the fastest. This is why they came up with switches so devices could talk with one another without the router being involved. The only time you would want to send the packets to a router or a layered switch is for QOS...
When a frame arrives at a switchport on your switch, the switch adds the source MAC address in the MAC address table. It then looks up the destination MAC address in its table; if it can't find it, it will broadcast the frame out all switchports except the receiving port on the same VLAN, and then will learn the MAC address through the reply frame. If it can find it, it will forward it out the corresponding the switchport. So if the NAS is also plugged into the switch, it will go PC -> Switch -> NAS.
The only time the packet will go to the router is if the destination IP address is your default gateway, or an IP address that's not in your local subnet.
What you're thinking of is a hub, which is a layer 1 network device. When it receives bits, it just forwards them out on every port; this is way more prone to collisions, so half-duplex is only used. Switches are smarter since they work at layer 2, and use MAC addresses to make forwarding decisions.
Yes, the bit you've made bold is the reason why the PC and NAS can communicate without talking to the router. But this is only the case if your PC and NAS are in the same subnet. If this wasn't the case, your PC would use the default gateway's MAC address as the destination, and your switch would then know to forward it to the router. If you aren't already familiar, it might be worth reading up on ARP as well.