fill basics functions in c_popup_read_dir and use this popup in callback "open file" in the file menu