Modified fileop to ignore white spaces at beginning and end of a file and added further initial server configuration