Bit of a dufus question here, but just in case...

I have a program that uses a lot of file io, often working with files of many thousands of lines, it runs a lot slower over the local network though.

My question is, is this loss of speed entirely down to network speed itself, or is there anything i could build in to improve performance when running the application from a shared drive?