added sendfile/cat in thumb mode