completion of file serving methods and add teardown method