question: public static void delete ( String path ) throws IOException { if ( path != null ) delete ( Paths . get ( path ) ) ; }
target:  A method that will delete a file or folder only if it is within the 'target' directory (for safety). Folders are removed recursively.