Added file/folder dialogs

I'm so sorry for the messy code :(