added method that creates subfolders with unique name for each file