check local files in directory localFiles