General purpose folder and file processing for copy, move, delete, and size calculation