fix serving of files