function remove_local_files($file_paths)
{
foreach ($file_paths as $path) {
if (false !== ($pre = apply_filters('as3cf_preserve_file_from_local_removal', false, $path))) {
continue;
}
if (!@unlink($path)) {
AS3CF_Error::log('Error removing local file ' . $path);
}
}
}