if ( !condition ) throw new HttpException(404, "file not found");