now acquires locks, stops jetty, moves the file in, and starts jetty back up