Option to flatten directories for uploads