When directory button is pressed a file will be read in and it will
display the directory.