BD based on text files