Applications should not need to know whether they are accessing a file on a local disk or a remote one or whether they are printing to an attached or remote printer.
Paging a memory block out and back in from disk is significantly slower than accessing it directly from RAM, so you should generally avoid this practice.