Seperate class for file/directory chooser