Extract text content and meta data from files