replace readfile by file_get_contents