Prompt and treat directories as files