public static function size($filename) { if (self::exists($filename)) { return filesize($filename); } else { return 0; } }