add common/files.php