bug fix - file uploading to folders