new drop dir function using os commands