Documentation update

Updated documentation for server and filehandler;

removed -1 length append from ALL array loop conditions.