fixed bug in client where files were ignored, only directories showed.