Added folder choosing functionality.