Be careful of battery swelling and/or exploding if you are going to keep the phone connected to power 24x7. Phones always work off of battery even when connected to power unlike laptops. So, the battery is always charging and discharging which is not how the battery is supposed to be used.
you will have to root the phone in order to change the port SMB works upon. then it can easily do all that. Act as a file server, watch movies from it directly and etc.