bit more tweaking. Need to figure out proper logic for dir vs file uploads