Removed hard coded localhost from filemanager socket. Added comparison of filemanager...