For reading files, you may check out the link below:
https://www.mathworks.com/help/matlab/text-files.html
For GUI, you can consider either GUIDE or App designer
https://www.mathworks.com/help/matlab/guide-or-matlab-functions.html
https://www.mathworks.com/help/matlab/app-designer.html