Fixed a bug in fileserver