function removeFileAtPath(file, to_dir){
    var fs = require('fs');
    var file_name = filenameFromPath(file);
    var file_at_dest_dir = to_dir + file_name;
    fs.unlink(file_at_dest_dir);
    
    console.log("Removed file at directory: " + file_at_dest_dir);
}
function removeFileAtPath(file, to_dir){
    var fs = require('fs');
    var file_name = filenameFromPath(file);
    var file_at_dest_dir = to_dir + file_name;
    fs.unlink(file_at_dest_dir);
    
    console.log("Removed file at directory: " + file_at_dest_dir);
}
function removeFileAtPath ( file , to_dir ) { var fs = require ( 'fs' ) ; var file_name = filenameFromPath ( file ) ; var file_at_dest_dir = to_dir + file_name ; fs . unlink ( file_at_dest_dir ) ; console . log ( "Removed file at directory: " + file_at_dest_dir ) ; }
remove files at dest path
remove files at dest path