add ob_clean() and flush() before readfile($file) for not support server