properly uses async in handleDeclaration to resolve the potential for the declaration not being read before completing readFiles.