Should be txt_for_dir(my_text, "graphics\\*.bmp")