split files and folders