added php directory reader