Added skipping index.php file during flush_dir()