$remove = f::remove('test.txt'); if($remove) echo 'The file has been removed';
public static function remove($file) { return file_exists($file) && is_file($file) && !empty($file) ? @unlink($file) : false; }